package com.cpi.cornpp.grinddistribution.view;

import java.io.Serializable;
/**
 * Grind Distribution View
 * @author Edgar Joao
 *
 */
public class GrindDistributionView implements Serializable{
	private static final long serialVersionUID = -5461651470979580373L;
	private String cornTypeId;
	private String code;
	private String description;
	private String cornOrigin;
	private String grindDistributionSettingVersionsId;
	private Integer inventory;
	private Integer delivered;
	private Integer newInventory = new Integer(0);
	private Integer newDelivered = new Integer(0);
	private Integer versionId;

	public String getCornTypeId() {
		return cornTypeId;
	}

	public void setCornTypeId(String argCornTypeId) {
		cornTypeId = argCornTypeId;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String argCode) {
		code = argCode;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String argDescription) {
		description = argDescription;
	}

	public String getCornOrigin() {
		return cornOrigin;
	}

	public void setCornOrigin(String argCornOrigin) {
		cornOrigin = argCornOrigin;
	}

	public String getGrindDistributionSettingVersionsId() {
		return grindDistributionSettingVersionsId;
	}

	public void setGrindDistributionSettingVersionsId(String argGrindDistributionSettingVersionsId) {
		grindDistributionSettingVersionsId = argGrindDistributionSettingVersionsId;
	}

	public Integer getInventory() {
		return inventory;
	}

	public void setInventory(Integer argInventory) {
		inventory = argInventory;
		setNewInventory(argInventory);
	}

	public Integer getDelivered() {
		return delivered;
	}

	public void setDelivered(Integer argDelivered) {
		delivered = argDelivered;
		setNewDelivered(argDelivered);
	}

	public Integer getVersionId() {
		return versionId;
	}

	public void setVersionId(Integer argVersionId) {
		versionId = argVersionId;
	}

	public void setNewInventory(Integer newInventory) {
		this.newInventory = newInventory;
	}

	public Integer getNewInventory() {
		return newInventory;
	}

	public void setNewDelivered(Integer newDelivered) {
		this.newDelivered = newDelivered;
	}

	public Integer getNewDelivered() {
		return newDelivered;
	}		

}
